package com.china.school.interceptor;

import org.springframework.aop.AfterReturningAdvice;
import org.springframework.aop.IntroductionInfo;

import java.lang.reflect.Method;

public class AfterReturningTest implements AfterReturningAdvice, IntroductionInfo {
    @Override
    public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable {
        System.out.println("-----afterReturning-----");
    }

    @Override
    public Class<?>[] getInterfaces() {
        return new Class[0];
    }
}
